#ifndef JDOMVIEW_H
#define JDOMVIEW_H

#include <QTreeView>
#include <QAction>

class JDomModel;

class JDomView : public QTreeView
{
	Q_OBJECT

public:
	JDomView(QWidget *parent, QAction *addSTL, QAction *removeSTL);
	~JDomView();

public slots:
	void openProject();
	void contextMenu(const QPoint &pt);

	void updateActions();

private slots:
	void insertChild();
	void insertRow();
	void removeRow();

private:
	JDomModel *m_model;
	QAction *m_addSTL;
	//QAction *m_Kinematics;
	QAction *m_removeSTL;
	
};

#endif // JDOMVIEW_H
